package com.wudizaba.microservicesdemosystem.module.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 工位、工艺、工序 Excel导出
 * @author wudizaba
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)//表头样式
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)//内容样式
public class ExcelProduceVO {

    @ExcelProperty(value = "工位名称")
    private String produceStationStationName;

    @ExcelProperty(value = "工位位置")
    @ColumnWidth(35)
    private String produceStationLocation;

    @ExcelProperty(value = "工位状态")
    private String produceStationStatus;

    @ExcelProperty(value = "工艺名称")
    @ColumnWidth(20)
    private String produceCraftCraftName;

    @ExcelProperty(value = "工艺类型")
    @ColumnWidth(30)
    private String produceCraftCraftType;

    @ExcelProperty(value = "工艺描述")
    @ColumnWidth(30)
    private String produceCraftDescription;

    @ExcelProperty(value = "工序顺序")
    @ColumnWidth(20)
    private String produceProcessSequence;

    @ExcelProperty(value = "工序描述")
    @ColumnWidth(20)
    private String produceProcessDescription;

    @ExcelProperty(value = "修改时间")
    @ColumnWidth(25)
    private LocalDateTime updateTime ;
}
